var o, e = require, t = module, n = exports, i = this && this.__extends || (o = function(t, e) {
    return (o = Object.setPrototypeOf || {
        __proto__: []
    } instanceof Array && function(t, e) {
        t.__proto__ = e;
    } || function(t, e) {
        for (var o in e) e.hasOwnProperty(o) && (t[o] = e[o]);
    })(t, e);
}, function(t, e) {
    function n() {
        this.constructor = t;
    }
    o(t, e), t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, 
    new n());
}), a = this && this.__decorate || function(t, e, o, n) {
    var r, a = arguments.length, c = a < 3 ? e : null === n ? n = Object.getOwnPropertyDescriptor(e, o) : n;
    if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) c = Reflect.decorate(t, e, o, n); else for (var i = t.length - 1; 0 <= i; i--) (r = t[i]) && (c = (a < 3 ? r(c) : 3 < a ? r(e, o, c) : r(e, o)) || c);
    return 3 < a && c && Object.defineProperty(e, o, c), c;
};

Object.defineProperty(n, "__esModule", {
    value: !0
});

var r = e("PrefabView"), s = e("GameData"), c = e("DataManager"), l = e("UIManager"), d = cc._decorator, u = d.ccclass, p = d.property, h = function(e) {
    function t() {
        var t = null !== e && e.apply(this, arguments) || this;
        return t.titleLabel = null, t;
    }
    return i(t, e), t.prototype.onLoad = function() {
        l.default.getInstance().hidePnl("start");
    }, t.prototype.onClickBack = function() {
        this.hidePnl(), l.default.getInstance().showPnl("start");
    }, t.prototype.start = function() {
        s.GD.isNotice = 1, c.default.getInstance().save();
    }, a([ p(cc.Label) ], t.prototype, "titleLabel", void 0), a([ u ], t);
}(r.default);

n.default = h;